import http from "@/utils/http"






//获取新增箱子编号
export function box_no() {
    return http.get('/by-warehousing-apply/box-no')
}
//获取表格列表数据
export function instock_tabList(params) {
    return http.post('/by-warehousing-apply/pageApply', params)
}
//获取国际物流列表
export function SKU_TypeData(params) {
    return http.post('/sys-tag-dictionary/treeTagDictionary', params)
}
//查询各状态条数
export function SKU_TypeCount() {
    return http.get('/by-warehousing-apply/state-count')
}
//查询各SKU条数
export function SKU_select() {
    return http.post('/by-sku/select')
}
//新增入订单数据
export function add_warehousing(params) {
    return http.post('/by-warehousing-apply', params)
}
//表格每一行详情数据
export function getByApplyId(params) {
    return http.get('/by-warehousing-apply/getByApplyId/' + params)
}
//修改每一行数据
export function updateApplyInfo(params) {
    return http.put('/by-warehousing-apply/updateApplyInfo', params)
}
//修改申请数据
export function updateByApplyInfo(params) {
    return http.put('/by-warehousing-apply/updateByApplyInfo', params)
}
//提交订单
export function check_Order(params) {
    return http.get('/by-warehousing-apply/' + params)
}
//删除入库申请
export function del_Order(params) {
    return http.delete('/by-warehousing-apply/' + params)
}
//撤回订单
export function undo_Order(params) {
    return http.put('/by-warehousing-apply/undo/' + params)
}
//代发头程信息列表提交数据
export function updateByFba(params) {
    return http.put('/by-warehousing-apply/updateByFba/' + params)
}
//获取仓库数据
export function warehouse(params) {
    return http.post('/by-warehouse/select', params)
}
//下载模板
export function upDow() {
    return http.blob('/by-warehousing-apply/mergeWrite')
}
//客户端代发头程提交接口
export function update_ascertained(params) {
    return http.put('/by-warehousing-apply/update-ascertained',params)
}


